|
Public Member Functions |
| virtual XFCIMPORT | ~XFcInetAdvertiser () |
| virtual XFCIMPORT void | setGamePort (UINT16 aGamePort) |
| | Sets game play port.
|
| virtual XFCIMPORT UINT16 | getGamePort () const |
| | Gets game play port.
|
| virtual XFCIMPORT INT | setMessageHeader (const CHAR8 *aHeader, INT32 aLength) |
| | Sets message header, e.g. "X-Forge Game: GeoPod".
|
| virtual XFCIMPORT void | getMessageHeader (CHAR8 *aHeader, INT32 &aLength) const |
| | Gets message header, e.g. "X-Forge Game: GeoPod".
|
| virtual XFCIMPORT INT | setMessageData (const CHAR8 *aData, INT32 aLength) |
| | Sets other data to message.
|
| virtual XFCIMPORT void | getMessageData (CHAR8 *aData, INT32 &aLength) const |
| | Gets other message data.
|
| virtual XFCIMPORT INT | isAddress () const |
| | Test if address is set.
|
Static Public Member Functions |
| XFCIMPORT XFcInetAdvertiser * | create (const XFcAddress &aAddress, const CHAR8 *aMessage, INT32 aMessageLength) |
| XFCIMPORT XFcInetAdvertiser * | create (const CHAR8 *aMessage, INT32 aMessageLength) |
| XFCIMPORT XFcInetAdvertiser * | create (const XFcHostEntry &aHostEntry) |
| XFCIMPORT XFcInetAdvertiser * | create () |
Public Attributes |
| XFcHostEntry * | mHostEntry |
| | Holds advertice receive address.
|
Protected Member Functions |
| | XFcInetAdvertiser () |
| | Protected constructor.
|
| INT | init (const XFcAddress &aAddress, const CHAR8 *aMessage, INT32 aMessageLength) |
| INT | init (const CHAR8 *aMessage, INT32 aMessageLength) |
| INT | init (const XFcHostEntry &aHostEntry) |
| INT | init () |
| CHAR8 * | getElement (CHAR8 *aBuffer, UINT8 aElement) |
| | Returns pointer to beginning of the data chunck.
|
| const CHAR8 * | getElement (const CHAR8 *aBuffer, UINT8 aElement) const |
| INT32 | getElementLength (const CHAR8 *aBuffer, UINT8 aElement) const |
| INT32 | addElement (CHAR8 *aElement, UINT8 aElementLength, UINT8 aElementId) |
Private Attributes |
| CHAR8 | mTmpMessage [XFC_MAXBUFFERSIZE] |
| INT32 | mTmpLength |